package com.liyiruo.testMain.processor;

import com.liyiruo.beans.Show;
import com.liyiruo.dao.UserDao;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * 几个后置处理器的测试
 * @author liyiruo
 * @Description
 * @Date 2023/4/20 下午10:34
 */
public class TimeLogBeanPostProcessorTest {
    public static void main(String[] args) {
        ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext("processor/logBeanPostProcessor.xml");
        UserDao show = (UserDao) context.getBean("userDao");
        show.show();

    }
}
